package org.example.book.state.command;

import org.example.book.state.pojo.Order;
import org.springframework.stereotype.Component;

public class OrderCommandInvoker {

    public void invoke(OrderCommandInterface command, Order order) {
        command.execute(order);
    }
}
